Part Number Hot Search : 
STP45N10 MBG5356K 2N2222A GM9015 CHT170PT 103IW Z8420BB1 AT102
Product Description
Full Text Search
 

To Download MSC-AT50-434 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  rev 1.1 4/11 copyright ? 2011 by sili con laboratories si4010-keyfob-aes-demo si4010-keyfob-aes-demo si4010 k ey f ob d emo k it with aes c apability u ser ? s g uide 1. purpose thank you for your interest in silic on laboratories? si4010 soc rf key fob demo kit with aes capability. the silicon laboratories si 4010 key fob demo kit with aes capability cont ains everything you need to familiarize yourself with and evaluate the si4010 rf soc. the kit has two versions, one for the 434 mhz band and one for the 868 mhz band. the key features of the development platform are as follows: ? the key fob demo board has five push buttons and one led output, a pcb antenna, an d a battery in a plastic case. ? the key fob uses hardware-accelerated 128-bit advan ced encryption standard (aes) encryption and rolling counter for rke application. ? the receiver demo board has a graphic lcd to display received key fob commands. ? the provided software pack contains all the documentation and files needed to develop a user application. the kit supports the use of s ilicon laboratories? in tegrated development en vironment (ide) for software debugging and the use of the keil c compiler, assembler, and linker toolchain. ? contains demo applications using api f unctions and the key fob demo application. 2. kit contents the kit contains the following items: qty part number description 4010-daakf_434 si4010 key fob demo kit with aes capability 434 mhz 1 4010-dapb_434 si4010 univ ersal key fob 434 mhz 1 4313-dacb_any si4313 lcd fsk/ook receiver any band 1 MSC-AT50-434 434 mhz antenna 1 msc-plpb_1 key fob plastic case (translucent grey) 1 crd2032 cr2032 3 v coin battery 1 msc-dksw1 wireless development suite disc 4010-daakf_868 si4010 key fob demo kit with aes capability 868 mhz 1 4010-dapb_868 si4010 univ ersal key fob 868 mhz 1 4313-dacb_any si4313 lcd fsk/ook receiver any band 1 msc-at50-868 868 mhz antenna 1 msc-plpb_2 key fob plastic case (translucent red) 1 crd2032 cr2032 3 v coin battery 1 msc-dksw1 wireless development suite disc
si4010-keyfob-aes-demo 2 rev 1.1 figure 1. si4010 universal key fob and plastic case (p/n 4010-dapb 868 and msc-plpb_1) figure 2. si4313 lcd fsk/ook r eceiver any-band (p/n 4313-dacb any) with 434 mhz antenna (p/n MSC-AT50-434) ?
si4010-keyfob-aes-demo rev 1.1 3 3. key fob demo with aes capability the 4010-dapb rke key fob transmitter and the si4313 fsk receiver are th e transmit and receive devices used in this key fob demo. this transmit/rec eive pair can be used to evaluate the capabilities of the si4010 transmitter and the si4313 receiver. 3.1. operation of the demo the si4313 demo receiver board uses the following rf parameters: ? 9.6 kbps ? fsk modulation ? 433.92 mhz or 868.3 mhz center frequency (menu selectable) ? 70 khz deviation if any push button is pressed on the key fob, it sends a message to the receiver. the demo uses silicon labs' general ezmacpro protocol. 3.2. association to enable the receiver to react to the button presses on the key fob(s), they have to be paired (i.e., the key fob has to be associated to the receiver by pressing the le ft and right buttons simultaneously on the key fob). 3.2.1. meanings of the different fields ? aes ?defines whether the transmi tter is using aes-128 encrypti on or not. it is set to 0x01; then, the rolling counter field of the packets is exte nded to 16 bytes length (12 dummy bytes are appended) and is encoded by aes-128. other fields of the packet are not affected by the encryption. ? address ?4 bytes of key fob address. the four byte random number factory burned in the si4010 is used as the address. ? rolling counter ?the transmitter increments a 4 byte counter after every packet transmissi on. this counter is stored in the mtp memory of the si4010. if the receiver accepts the a ssociation, it registers the address, master key, and rolling counter value of the requesting key fob. the master accepts the association if it is in pairing mode and there is a free slot for a key fob (i.e., if there are fewer than four key fobs as sociated to the receiver). after power up, the receiver board is in pairing mode automatically. after pairing, it goes to normal packet reception mode. the pairing mode can be invoked by pressi ng the push button, pb3, on the receiver board. this button needs to be pressed before the second and any subs equent pairing. if the pb is pressed for more than one second, the receiver disa ssociates all key fobs. table 1. general ezmacpro extended packet configuration used by demo key fobs preamble synch ? word mac ? header mac ? payload crc min.13 bytes 2 bytes 5 bytes 0...64 bytes 2 bytes 0xaa...0xaa 0x2dd4 ctrl cid sid did pl nhdr nwk payload crc table 2. the mac payload field of the ?associate request from tx only device? packet mac ? payload nhdr nwk payload 1 byte 1 bytes 1 byte 1 byte 4 byte 4 byte 0x47 0x05 0x01 aes address rolling counter
si4010-keyfob-aes-demo 4 rev 1.1 3.3. button is pr essed on the key fob if any single button or button combinat ion (except association combination) is pressed on the key fob, then it transmits a key fob data packet showing the button number in the button field. 3.3.1. meaning of the different fields ? aes ?defines whether the trans mitter is using aes-128 encryption. it is set to 0x01, th en button, temp, battery, and rolling counter fields of th e packets are extended to 16 bytes length all t ogether and are encoded by aes-128. other fields of the packet are not af fected by the encryption. ? address ?4 bytes of key fob address. the four-byte random number factory burned in the si4010 is used as the address. ? button ?each bit of this byte corresponds to the status of a push button on the key fob. if the bit is set, the given button is pressed. if the bit is cleared, the button is released. ? temp ?the temperature is encoded as a signed 16-bit integer. each incremental bit of temperature reading represents 0.1 c. if the temperature function is not im plemented in the key fob, this field is set to 0xffff. ? battery ?1 byte unsigned char showing the act ual power supply status of the key fob. it must be interpreted as follows: ? lbd available bit ?if set, the lbd status bit shows th e actual status of the battery. ? lbd status ?shows whether the actual battery voltage is above the lbd limit (set if the actual voltage is below the threshold). the lbd limit is configurable in the key fob program. ? battery voltage available ?if set, the battery voltage information is available. ? battery voltage ?it shows the actual battery voltage of the key fob. each increment of the battery voltage bit corresponds to 50 mv. however, 0 represents 1.7 v. ? rolling counter ?the transmitter increments a 4 byte counter after every packet transmissi on. this counter is stored in the mtp memory of the si4010. since aes is used by the key fob, the receiver board decrypts the encrypted portion of the packet and discards the dummy bytes. then, the receiver board checks the sync counter value against its own copy of the sender key fob's counter. if the key fob syn c counter value minus the copy counter value is more than zero and less than a configurable window value (default value is 10), the master increments the copy. table 3. the mac payload field of the ?key fob data? packet mac payload nhdr nwk payload 1byte 1byte 4bytes 1byte 2bytes 1byte 4byte 0x04 aes address button temp battery rolling counter 1bit 1bit 1bit 5bits lbd available lbd status battery volt age available battery voltage[4:0]
si4010-keyfob-aes-demo rev 1.1 5 3.4. key handling figure 3. srw aes128 applications key hierarchy aes keys used in the demos are generated according to the hierarchy shown in figure 3. only the application level keys are stored on the receiver board. the function level keys are calculated at power-up. the session level keys are calculated at their first use. in the key fobs function level, keys are not generated bu t only stored to save power. the session level keys are calculated at each power up. the assoc_sk is used for association packets, and the btn_sk is used for encrypting the messages generated by a button press. 3.5. key fob firmw are description the complete project of the program used in the demo key fob can be found in the si4010 documentation kit in the ?rke_demo? folder. the key fob wakes up for button push or battery insert. if the battery was inserted, the vsys_firstpowerup() api function is called, which shuts down the chip after 600 ms. this is for safe startup in case of battery contact bouncing. upon button push wakeup, the system variables a nd hardware control registers are initialized first, and the session keys used in the aes encod ing are generated from the function keys and the device address. then, button debouncing is made. if a valid button push is detected, firs t a packet is assembled and transmitte d six times for the led receiver demo board used in the si4010 simplified key fob demo kit (see details in ?an516: si 4010 simplified key fob demo quick start guide?). then, a packet is assembled accord ing to the description in the previous chapters. it is transmitted in fsk modulation for the si4313 receiver bo ard (part of this kit), and then also in ook modulation. the next step is to increment the sync counter stored in the mtp memory. if there is no valid button push detected for 3.2 s, the program shuts down the chip. application level mk: master key sk: session key rke_mk function level aes_128 aes_128 aes_128 node_association node_buttonpress functionzzzzzzzz btn_k session level funcx_k assoc_k aes_128 12byte padding(0) + node addr assoc_sk aes_128 12byte padding(0) + node addr btn_sk
si4010-keyfob-aes-demo 6 rev 1.1 3.5.1. key fob firmware flowchart figure 4. key fob firmware flowchart wake up battery insert? vsys_firstpowerup() yes shutdown vsys_setup( 15 ) initialize application measure vbat measure temp generate session keys no button pushed? timeout? no shutdown yes no assemble packet for the led demo yes is button valid for receiver? assemble packet for si4313 set rf parameters transmit packet set rf parameters transmit packet yes no assemble packet for si4313 set rf parameters transmit packet increment sync counter
si4010-keyfob-aes-demo rev 1.1 7 3.6. receiver boar d firmware description the si4313 rx board receives the packets from the si40 10 key fob, and, by the packet headers, it decides what kind of packet was received. two packet types can be re ceived: association packets or button press packets. the si4313 rx board has two operation modes: association mode and button press mode. a key fob can only associate when the si4313 rx board is in association mode . if the si4313 is in button press mode, then the association packet will be discarded . during the first power up, the si4313 rx board goes into association mode, and, after every key fob association, the firmware goes into button press mode. the board can go back to association mode if the pb button is pressed. after an si4010 key fob associates to the si4313 rx board, the rx board can receive the button press packets. at every packet reception, the firmware updates the lcd and sends an indication message to the pc via the uart interfac e. the lcd displays the associated key fob serial numbers and the number of the last button pressed on the key fo b. however, the firmware stores more information about each associated key fob, such as aes keys, temperature, battery level, etc. figure 5 shows a flow chart of the receiver board firmware.
si4010-keyfob-aes-demo 8 rev 1.1 3.6.1. receiver board firmware flowchart figure 5. basic program structure block diagram (1 of 2)
si4010-keyfob-aes-demo rev 1.1 9 figure 6. basic program structure block diagram (2 of 2) for details on how to program the si4010, see the following documentation: ? si4010 data sheet ? an370: si4010 software programming guide ? si4010 development kit user's guide ?
si4010-keyfob-aes-demo 10 rev 1.1 4. demo quick start guide 1. the first step is to insert the cr 2032 battery into the key fob demo board and then place the board with the battery into the plastic key fob case. pushing any key will flash the led on the key fob. 2. connect the antenna into the sma connector of the 4313-dacb_any receiver board. 3. power up the si4313 receiver board by connecting it to the pc's usb port or by inserting batteries (3xaa) at the back side of the board. 4. switch the ?s1? power supply switch to the proper positi on. if the board is supplied from the usb port, switch to the ?usb? state, or, if the board is supplied fr om the batteries, switch to the ?bat.? state. 5. after switching on the boar d, the lcd shows the silicon laboratories logo and the firmware versi on information. the demo shows this information three times during the st artup. this startup process can be skipped if any of the pb1?pb3 button is pressed on the board. 6. on the next screen set the desired receive frequency using pb1 (+) and pb2 (?) buttons. then step to the next screen by pushing the pb3 (go) button. 7. wait until the following screen appears. 8. pair the key fob with the receiver board by pressing the left and the right button s together on the key fob. if the key fob can be associated to the receiver board, then the serial number of the key fob appears on the display. note: only four key fobs can be associated at the same time to the receiver board. the pb3 button on the receiver board has to be pressed shortly before every key fob association. 9. when the key fob is associ ated to the rke receiver board, press any button on the key fob. the lcd screen shows the number of the depressed button. ? ? ? ?
si4010-keyfob-aes-demo rev 1.1 11 10.if the pb3 button is pressed for longer than 2 s and then released, the rke receiver board disassociates all associated key fobs. if you want to use the key fob again then it is required to be paired again. refer to step 7 for instructions on how to perform the pairing. in this case, the key fobs should associate again. the code used in the transmitter of this key fob demo application can be found in the documentation kit in the \si4010 projects\rke_demo folder. ?
si4010-keyfob-aes-demo 12 rev 1.1 5. software installation the provided software pack contains all the documentation and files needed to develop a user application. it also contains example applications using api functions and the key fob demo application. the directory structure of the software examples is as follows: +--si4010_projects | +--aes_demo | | +--bin .. keil uvision and silabs ide files | | +--out .. output directory for keil toolchain | | +--src .. aes_demo source code | +--common | | +--lib .. si4010 additional api functions library | | +--src .. si4010 required files | +--fcast_demo .. frequency casting (tuning) demo | | +--bin | | +--out | | +--src | +--fstep_demo .. frequency two step tuning demo | | +--bin | | +--out | | +--src | +--tone_demo .. continuous wave (tone) demo | | +--bin | | +--out | | +--src | +--keyfob_demo .. simple keyfob demo | | +--bin | | +--out | | +--src | +--rke_demo .. advanced keyfob demo with aes | | +--bin | | +--out | | +--src copy the directory structure in a directory of your ch oice. it is recommended to keep the structure of the si4010_projects folder to allow the compiler to find the si4010 common files. each project has a *.wsp project file in the bin folder that contains all the settings of the id e for the project, including the relative path of the common files.
si4010-keyfob-aes-demo rev 1.1 13 6. silabs ide run download the silabs ide (integrated development environment) from http://www.silabs.com/products/mcu/pages/s iliconlaboratorieside.aspx and install it on your computer. to run the silicon labs ide, open the *.wsp project file. 7. keil toolchain integration the project files in examples assume that the keil toolchain is installed to c:\keil directory. the location of the keil toolchain can be easily changed in the silabs ide in the project?tool chain integration menu. an evaluation version of the keil toolchain can be downloaded from the keil web site, http://www.keil.com/ . this free version has 2 kb code limitation and starts the code at 0x0800 addr ess. the keil free evaluation version can be unlocked to become a 4k version with no code placement limitation by foll owing the directions given in application note ?an104: integrating keil 8051 tools into the silicon labs ide?, which covers keil toolchain inte gration and license management. unlock code can be found on the wds cdrom in the root folder in the keil_license_number.txt file. contact your silicon laboratories sales representative or distri butor for application assistance. for the complete de velopment platform containing debug adap ter and development boards, see silicon laboratories? key fob development kit (p/n 4010-dkkf_434 or 4010-dkkf_868).
si4010-keyfob-aes-demo 14 rev 1.1 c ontact i nformation silicon laboratories inc. 400 west cesar chavez austin, tx 78701 tel: 1+(512) 416-8500 fax: 1+(512) 416-9669 toll free: 1+(877) 444-3032 please visit the silicon labs technical support web page: https://www.silabs.com/support/pages/contacttechnicalsupport.aspx and register to submit a technical support request. silicon laboratories and silicon labs are trademarks of silicon laboratories inc. other products or brandnames mentioned herein are trademarks or registered trademarks of their respective holders the information in this document is believed to be accurate in al l respects at the time of publ ication but is subject to change without notice. silicon laboratories assumes no re sponsibility for errors and omissions, and disclaims responsibi lity for any consequen ces resulting from the use of information included herein. additi onally, silicon laborator ies assumes no responsibility for the fun ction- ing of undescribed features or parameters. silicon laboratories re serves the right to make change s without further notice. sili con laboratories makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpos e, nor does silicon laboratories assume any liabi lity arising out of the application or use of any product or circuit, and specifi cally disclaims any and all liability, including without limitation consequential or incident al damages. silicon laboratories product s are not designed, intended, or authorized for use in applications in tended to support or sustain life, or for any other application in which the failure of the silicon laboratories product could create a si tuation where personal injury or death may occur. should buyer purchase or use silicon laboratories prod ucts for any such unintended or unauthorized application, buyer shall indemnify and hold silicon laboratories harmless against all claims and damages.


▲Up To Search▲   

 
Price & Availability of MSC-AT50-434

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X